﻿<UserControl x:Class="kernel.gui.pages.MainPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:lang="clr-namespace:kernel"
             xmlns:modules="clr-namespace:kernel.gui.modules"
             mc:Ignorable="d"
             d:DesignHeight="500" d:DesignWidth="800">
    <Grid>
        <TabControl x:Name="ModuleControl" SelectionChanged="ModuleControl_SelectionChanged">
            <TabItem x:Name="Adoptedtab" Header="{x:Static lang:Localization.accepted}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="10" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition />
                        <ColumnDefinition Width="10" />
                    </Grid.ColumnDefinitions>
                    <modules:AdoptedModules x:Name="AdoptedModue" Grid.Column="1" />
                </Grid>
            </TabItem>
            <TabItem x:Name="ReadyTab" Header="{x:Static lang:Localization.readys}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="10" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition />
                        <ColumnDefinition Width="10" />
                    </Grid.ColumnDefinitions>
                    <modules:ReadyModules x:Name="ReadyModule" Grid.Column="1" />

                </Grid>
            </TabItem>
            <TabItem x:Name="CastTab" Header="{x:Static lang:Localization.cast}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="10" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition />
                        <ColumnDefinition Width="10" />
                    </Grid.ColumnDefinitions>
                    <modules:CastModules x:Name="CastModule" Grid.Column="1" />
                </Grid>
            </TabItem>
            <TabItem x:Name="SearchTab" Header="{x:Static lang:Localization.search}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="10" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition />
                        <ColumnDefinition Width="10" />
                    </Grid.ColumnDefinitions>
                    <modules:SearchModules x:Name="SearchModule" Grid.Column="1" />
                </Grid>
            </TabItem>
            <TabItem x:Name="PrintTab" Header="{x:Static lang:Localization.print}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="10" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition />
                        <ColumnDefinition Width="10" />
                    </Grid.ColumnDefinitions>
                    <modules:PrintModules x:Name="PrintModule" Grid.Column="1" />
                </Grid>
            </TabItem>
            <TabItem x:Name="SparesTab" Header="{x:Static lang:Localization.reference_Parts}">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition />
                        <RowDefinition Height="10" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="10" />
                        <ColumnDefinition />
                        <ColumnDefinition Width="10" />
                    </Grid.ColumnDefinitions>
                    <modules:SparesModules x:Name="SparesModule" Grid.Column="1" />

                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</UserControl>